<template>
	<div class="join">
		<div class="join-phone">
			<div>
			<p>客服电话 : <span>400-100-9007</span></p>
			<p>商务洽谈 : <span>400-100-9007</span></p>
			<p>工作时间 : <span>周一至周六</span></p>
			<p>上午 8 : 00 - 12 : 00 , 下午 14 : 00 - 17 : 30</p>
			</div>
		</div>
		<div class="join-user">
			<div class="join-advise">
				<p v-for="item in advise">{{item}}</p>
				<h2  v-on:click="feedback()">提点建议</h2>
			</div>
			<div class="join-store">
				<p v-for="item in store">{{item}}</p>
				<a href="###">申请入驻</a>
			</div>
		</div>
		<div class="box-black" v-show="blo">
	<div>
	<textarea placeholder="请输入您的意见, 我们将与您共同成长(不得超过200字)"></textarea>
      <span v-on:click="feedback1()">返回</span>
      <span>提交</span>
	</div>
	</div>
	</div>
</template>

<script>
	export default {
		name : "join",
		data (){
			return{
			   blo : false,
			   advise : ["我是用户","功能建议","期待您的建议和反馈","不断完善成长"],
			   store : ["我是商家","商户入驻","期待您的入驻","共同打造新的平台"]
			}
		},
		methods : {
			feedback : function(){
				this.blo = true
			},
			feedback1 : function(){
				this.blo = false
			}
		}
	}
</script>

<style scoped>
	.join-phone{
		width: 100%;
		height: 362px;
		background: url(../assets/img/59.png) 100% 100% no-repeat;
	}
	.join-phone>div{
		width: 1180px;
		margin: 0 auto; 
		padding: 80px 0;
	}
	.join-phone p{
		font-size: 28px;
		line-height: 50px;
		color: #666;
	}
	.join-phone span{
		color: #FE6E00;
	}
	.join-user{
		width: 1180px;
		margin: 0 auto;
		display:flex;
	    flex-wrap:nowrap;
	    justify-content:space-between;
	}
	.join-advise,.join-store{
		width: 400px;
		height: 400px;
		border-radius: 50%;
		margin-top: 100px;
		margin-bottom: 100px;
		text-align: center;
	}
	.join-advise>p,.join-store>p{
		line-height: 30px;
	}
	.join-advise{
		border: 1px solid #FE6E00;
		float: left;
	}
	.join-store{
		border: 1px solid #018DE2;
		clear: both;
	}
	.join-advise>p:nth-child(1){
		color: #FE6E00;
	}
	.join-store>p:nth-child(1){
		color: #018DE2;
	}
	.join-advise>p:nth-child(1),.join-store>p:nth-child(1){
		font-size: 36px;
		line-height: 50px;
		margin-top:100px;
	}
	.join-advise>p:nth-child(2),.join-store>p:nth-child(2){
		font-size: 22px;		
		margin:10px 0;
		color:#666;
	}
	.join-advise>p:nth-child(n+3),.join-store>p:nth-child(n+3){
		font-size: 14px;	
		color: #666;	
	}
	.join-store>a{
		background-color: #008CE1;
	}
	.join-advise>h2{
        background-color: #FE6E00;
	}
	.join-advise>h2,.join-store>a{	
		display: inline-block;
		width: 110px;
		color: white;
		font-size: 16px;
		padding: 5px;
		border-radius: 10%;
		margin-top: 10px;
	}
	.box-black{
	width: 100%;
	height: 1500px;
	background-color: rgba(0,0,0,0.4);
	position: fixed;
	top: 0;
	left: 0;
}
.box-black>div{
	width: 608px;
    height: 350px;
    border: 4px solid #E2E2E2;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -199px 0 0 -328px;
    z-index: 2;
    background: white;
    text-align: center;
}
.box-black textarea{
	width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    height: 270px;
    line-height: 20px;
    font-family: "Microsoft Yahei";
}
.box-black span{
	display: inline-block;
	width: 80px;
	height: 30px;
	color: white;
	text-align: center;
	line-height: 30px;
	font-size: 16px;
	margin-right: 50px;
	margin-top: 30px;
	border-radius: 10%;
}
.box-black span:nth-of-type(1){
	background-color: #9CA09F;
}
.box-black span:nth-of-type(2){
	background-color: #FE6E00;
}
</style>